package com.bianguo.android.iocdemo;

import android.app.Application;
import android.content.Context;

import com.bianguo.android.eventbuslibrary.NetworkManager;
import com.bianguo.android.iocdemo.interfaces.ImageLoaderGlide;
import com.bianguo.android.iocdemo.utils.ImageLoadHelper;

public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        NetworkManager.getDefault().init(this);
        ImageLoadHelper.getInstance().init(new ImageLoaderGlide());
    }

    @Override
    protected void attachBaseContext(Context context) {
        super.attachBaseContext(context);
    }
}
